﻿import java.util.Scanner;

public class code037{
	public static void main(String[] args){
		System.out.println("\n\t\t欢迎使用我行我素购物系统1.0");
		System.out.println("\t\t\t 1. 登陆系统\n");
		System.out.println("\t\t\t 2. 退出\n");
		System.out.println("***********************************************\n");
		System.out.println("请选择输入数字：");
		Scanner input = new Scanner(System.in);
		if(input.hasNextInt()==true){
			int num = input.nextInt();
			switch(num){
			case 1:
				System.out.println("\t\t\t 1. 登陆系统\n");
				break;
			case 2:
				System.out.println("\t\t\t 2. 退出\n");
				System.out.println("谢谢您的使用");
				break;
			default:
				System.out.println("输入错误");
				break;
			}
		}else{System.out.println("请输入正确数字：");
		}
	}
}